add_subdirectory(autostart)
add_subdirectory(broadcast)
add_subdirectory(device)
add_subdirectory(filesystem)
add_subdirectory(lan)
add_subdirectory(nmh)
add_subdirectory(static)
add_subdirectory(url)

if(Qt5Widgets_FOUND)
    add_subdirectory(about)
    add_subdirectory(dev)
    add_subdirectory(deviceui)
    add_subdirectory(filesystemui)
    add_subdirectory(loggerui)
    add_subdirectory(notifications)
    add_subdirectory(pluginui)
    add_subdirectory(settingsui)
    add_subdirectory(sharebox)
    add_subdirectory(transferui)
    add_subdirectory(tray)
    add_subdirectory(urlui)
    add_subdirectory(wizard)
endif()

if(BUILD_API)
    add_subdirectory(api)
endif()

if(BUILD_MDNS)
    add_subdirectory(mdns)
endif()

if(LINUX AND libnotify_FOUND)
    add_subdirectory(notify)
endif()
